<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MagTwin: MagLogger Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">MagTwin<span id="projectnumber">&#160;V0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_mag_logger-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">MagLogger Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>MagLogger类用于记录日志信息.  
 <a href="#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="logger_8h_source.html">logger.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af874833bef5967536c000746eed82900" id="r_af874833bef5967536c000746eed82900"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af874833bef5967536c000746eed82900">MagLogger</a> ()</td></tr>
<tr class="memdesc:af874833bef5967536c000746eed82900"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数.  <br /></td></tr>
<tr class="separator:af874833bef5967536c000746eed82900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13cbdf4b33a580b1096aee2aa9a4030" id="r_ad13cbdf4b33a580b1096aee2aa9a4030"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad13cbdf4b33a580b1096aee2aa9a4030">~MagLogger</a> ()</td></tr>
<tr class="memdesc:ad13cbdf4b33a580b1096aee2aa9a4030"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数.  <br /></td></tr>
<tr class="separator:ad13cbdf4b33a580b1096aee2aa9a4030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca59a7fe42b816420492621efd4cbb9" id="r_aeca59a7fe42b816420492621efd4cbb9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aeca59a7fe42b816420492621efd4cbb9">currentTime</a> ()</td></tr>
<tr class="memdesc:aeca59a7fe42b816420492621efd4cbb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前时间.  <br /></td></tr>
<tr class="separator:aeca59a7fe42b816420492621efd4cbb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6403d204b8c512b93976a892499b3e0d" id="r_a6403d204b8c512b93976a892499b3e0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6403d204b8c512b93976a892499b3e0d">setDebugLog</a> (const std::string &amp;message)</td></tr>
<tr class="memdesc:a6403d204b8c512b93976a892499b3e0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录debug级别的日志信息.  <br /></td></tr>
<tr class="separator:a6403d204b8c512b93976a892499b3e0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47eedafad73f4657ac4d0c4de986d26b" id="r_a47eedafad73f4657ac4d0c4de986d26b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a47eedafad73f4657ac4d0c4de986d26b">setInfoLog</a> (const std::string &amp;message)</td></tr>
<tr class="memdesc:a47eedafad73f4657ac4d0c4de986d26b"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录info级别的日志信息.  <br /></td></tr>
<tr class="separator:a47eedafad73f4657ac4d0c4de986d26b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2ea25c3e78c352cf4e1a73ffc3f989" id="r_a2f2ea25c3e78c352cf4e1a73ffc3f989"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f2ea25c3e78c352cf4e1a73ffc3f989">setWarningLog</a> (const std::string &amp;message)</td></tr>
<tr class="memdesc:a2f2ea25c3e78c352cf4e1a73ffc3f989"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录warning级别的日志信息.  <br /></td></tr>
<tr class="separator:a2f2ea25c3e78c352cf4e1a73ffc3f989"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e51d2bc91537cd95a0f4724d59ae0d9" id="r_a4e51d2bc91537cd95a0f4724d59ae0d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4e51d2bc91537cd95a0f4724d59ae0d9">setErrorLog</a> (const std::string &amp;message)</td></tr>
<tr class="memdesc:a4e51d2bc91537cd95a0f4724d59ae0d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录error级别的日志信息.  <br /></td></tr>
<tr class="separator:a4e51d2bc91537cd95a0f4724d59ae0d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bdcc3c3fab9dfc49b6307fa7eec3a4f" id="r_a5bdcc3c3fab9dfc49b6307fa7eec3a4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5bdcc3c3fab9dfc49b6307fa7eec3a4f">setFatalLog</a> (const std::string &amp;message)</td></tr>
<tr class="memdesc:a5bdcc3c3fab9dfc49b6307fa7eec3a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录fatal级别的日志信息.  <br /></td></tr>
<tr class="separator:a5bdcc3c3fab9dfc49b6307fa7eec3a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51168b6826dd2ada98454cdf66a0c27f" id="r_a51168b6826dd2ada98454cdf66a0c27f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a51168b6826dd2ada98454cdf66a0c27f">getDebugLog</a> () const</td></tr>
<tr class="memdesc:a51168b6826dd2ada98454cdf66a0c27f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取日志debug级别的日志信息数组.  <br /></td></tr>
<tr class="separator:a51168b6826dd2ada98454cdf66a0c27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec666d32dcda63ee9ae17771968f3ed" id="r_a8ec666d32dcda63ee9ae17771968f3ed"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8ec666d32dcda63ee9ae17771968f3ed">getInfoLog</a> () const</td></tr>
<tr class="memdesc:a8ec666d32dcda63ee9ae17771968f3ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取日志info级别的日志信息数组.  <br /></td></tr>
<tr class="separator:a8ec666d32dcda63ee9ae17771968f3ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36799c8320a4d036339ae8120054b54b" id="r_a36799c8320a4d036339ae8120054b54b"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a36799c8320a4d036339ae8120054b54b">getWarningLog</a> () const</td></tr>
<tr class="memdesc:a36799c8320a4d036339ae8120054b54b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取日志warning级别的日志信息数组.  <br /></td></tr>
<tr class="separator:a36799c8320a4d036339ae8120054b54b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af92c7ea97d022f4654095df9c0c1b3e6" id="r_af92c7ea97d022f4654095df9c0c1b3e6"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af92c7ea97d022f4654095df9c0c1b3e6">getErrorLog</a> () const</td></tr>
<tr class="memdesc:af92c7ea97d022f4654095df9c0c1b3e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取日志error级别的日志信息数组.  <br /></td></tr>
<tr class="separator:af92c7ea97d022f4654095df9c0c1b3e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a573d53965bdd7c2440e513924e418732" id="r_a573d53965bdd7c2440e513924e418732"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a573d53965bdd7c2440e513924e418732">getFatalLog</a> () const</td></tr>
<tr class="memdesc:a573d53965bdd7c2440e513924e418732"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取日志fatal级别的日志信息数组.  <br /></td></tr>
<tr class="separator:a573d53965bdd7c2440e513924e418732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bace1bc22b1cbea96e9dcf18959cc57" id="r_a4bace1bc22b1cbea96e9dcf18959cc57"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4bace1bc22b1cbea96e9dcf18959cc57">getAllLog</a> () const</td></tr>
<tr class="memdesc:a4bace1bc22b1cbea96e9dcf18959cc57"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取所有级别的日志信息数组.  <br /></td></tr>
<tr class="separator:a4bace1bc22b1cbea96e9dcf18959cc57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a871395cc8d7389bdf827cc610f3c236a" id="r_a871395cc8d7389bdf827cc610f3c236a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a871395cc8d7389bdf827cc610f3c236a">exportLog</a> (const std::string &amp;fileName)</td></tr>
<tr class="memdesc:a871395cc8d7389bdf827cc610f3c236a"><td class="mdescLeft">&#160;</td><td class="mdescRight">输出日志信息到文件.  <br /></td></tr>
<tr class="separator:a871395cc8d7389bdf827cc610f3c236a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>MagLogger类用于记录日志信息. </p>
<p>MagLogger类用于记录日志信息, 包括debug, info, warning, error, fatal等等级别的日志信息. 日志信息会被记录到字符串数组中. 日志信息会被输出到字符串数组中, 但可以通过调用getDebugLog(), <a class="el" href="#a8ec666d32dcda63ee9ae17771968f3ed" title="获取日志info级别的日志信息数组.">getInfoLog()</a>, <a class="el" href="#a36799c8320a4d036339ae8120054b54b" title="获取日志warning级别的日志信息数组.">getWarningLog()</a>, <a class="el" href="#af92c7ea97d022f4654095df9c0c1b3e6" title="获取日志error级别的日志信息数组.">getErrorLog()</a>, <a class="el" href="#a573d53965bdd7c2440e513924e418732" title="获取日志fatal级别的日志信息数组.">getFatalLog()</a>等函数来获取日志信息. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af874833bef5967536c000746eed82900" name="af874833bef5967536c000746eed82900"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af874833bef5967536c000746eed82900">&#9670;&#160;</a></span>MagLogger()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MagLogger::MagLogger </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造函数. </p>
<p>构造函数, 初始化日志信息数组. </p>

</div>
</div>
<a id="ad13cbdf4b33a580b1096aee2aa9a4030" name="ad13cbdf4b33a580b1096aee2aa9a4030"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad13cbdf4b33a580b1096aee2aa9a4030">&#9670;&#160;</a></span>~MagLogger()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MagLogger::~MagLogger </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>析构函数. </p>
<p>析构函数, 释放日志信息数组. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aeca59a7fe42b816420492621efd4cbb9" name="aeca59a7fe42b816420492621efd4cbb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeca59a7fe42b816420492621efd4cbb9">&#9670;&#160;</a></span>currentTime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string MagLogger::currentTime </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前时间. </p>
<p>获取当前时间, 格式为"YYYY-MM-DD HH:MM:SS". </p><dl class="section return"><dt>Returns</dt><dd>当前时间字符串. </dd></dl>

</div>
</div>
<a id="a871395cc8d7389bdf827cc610f3c236a" name="a871395cc8d7389bdf827cc610f3c236a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a871395cc8d7389bdf827cc610f3c236a">&#9670;&#160;</a></span>exportLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::exportLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>fileName</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>输出日志信息到文件. </p>
<p>输出日志信息到文件, 文件名为"fileName.log". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>日志文件名. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4bace1bc22b1cbea96e9dcf18959cc57" name="a4bace1bc22b1cbea96e9dcf18959cc57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bace1bc22b1cbea96e9dcf18959cc57">&#9670;&#160;</a></span>getAllLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getAllLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取所有级别的日志信息数组. </p>
<p>获取所有级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>所有级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="a51168b6826dd2ada98454cdf66a0c27f" name="a51168b6826dd2ada98454cdf66a0c27f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51168b6826dd2ada98454cdf66a0c27f">&#9670;&#160;</a></span>getDebugLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getDebugLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取日志debug级别的日志信息数组. </p>
<p>获取debug级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>debug级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="af92c7ea97d022f4654095df9c0c1b3e6" name="af92c7ea97d022f4654095df9c0c1b3e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af92c7ea97d022f4654095df9c0c1b3e6">&#9670;&#160;</a></span>getErrorLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getErrorLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取日志error级别的日志信息数组. </p>
<p>获取error级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>error级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="a573d53965bdd7c2440e513924e418732" name="a573d53965bdd7c2440e513924e418732"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a573d53965bdd7c2440e513924e418732">&#9670;&#160;</a></span>getFatalLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getFatalLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取日志fatal级别的日志信息数组. </p>
<p>获取fatal级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>fatal级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="a8ec666d32dcda63ee9ae17771968f3ed" name="a8ec666d32dcda63ee9ae17771968f3ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ec666d32dcda63ee9ae17771968f3ed">&#9670;&#160;</a></span>getInfoLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getInfoLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取日志info级别的日志信息数组. </p>
<p>获取info级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>info级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="a36799c8320a4d036339ae8120054b54b" name="a36799c8320a4d036339ae8120054b54b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36799c8320a4d036339ae8120054b54b">&#9670;&#160;</a></span>getWarningLog()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; MagLogger::getWarningLog </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取日志warning级别的日志信息数组. </p>
<p>获取warning级别的日志信息数组. </p><dl class="section return"><dt>Returns</dt><dd>warning级别的日志信息数组. </dd></dl>

</div>
</div>
<a id="a6403d204b8c512b93976a892499b3e0d" name="a6403d204b8c512b93976a892499b3e0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6403d204b8c512b93976a892499b3e0d">&#9670;&#160;</a></span>setDebugLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::setDebugLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>记录debug级别的日志信息. </p>
<p>记录日志信息, 并将日志信息添加到日志信息数组中. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>debug级别的日志信息. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4e51d2bc91537cd95a0f4724d59ae0d9" name="a4e51d2bc91537cd95a0f4724d59ae0d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e51d2bc91537cd95a0f4724d59ae0d9">&#9670;&#160;</a></span>setErrorLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::setErrorLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>记录error级别的日志信息. </p>
<p>记录日志信息, 并将日志信息添加到日志信息数组中. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>error级别的日志信息. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5bdcc3c3fab9dfc49b6307fa7eec3a4f" name="a5bdcc3c3fab9dfc49b6307fa7eec3a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bdcc3c3fab9dfc49b6307fa7eec3a4f">&#9670;&#160;</a></span>setFatalLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::setFatalLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>记录fatal级别的日志信息. </p>
<p>记录日志信息, 并将日志信息添加到日志信息数组中. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>fatal级别的日志信息. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a47eedafad73f4657ac4d0c4de986d26b" name="a47eedafad73f4657ac4d0c4de986d26b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47eedafad73f4657ac4d0c4de986d26b">&#9670;&#160;</a></span>setInfoLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::setInfoLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>记录info级别的日志信息. </p>
<p>记录日志信息, 并将日志信息添加到日志信息数组中. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>info级别的日志信息. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2f2ea25c3e78c352cf4e1a73ffc3f989" name="a2f2ea25c3e78c352cf4e1a73ffc3f989"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f2ea25c3e78c352cf4e1a73ffc3f989">&#9670;&#160;</a></span>setWarningLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagLogger::setWarningLog </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>记录warning级别的日志信息. </p>
<p>记录日志信息, 并将日志信息添加到日志信息数组中. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>info级别的日志信息. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>logger/include/<a class="el" href="logger_8h_source.html">logger.h</a></li>
<li>logger/<b>logger.cpp</b></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>
